import Vue from 'vue';
import Vuex from 'vuex';

Vue.use(Vuex);

const store=new Vuex.Store({
    state:{
        showLoading:false
    },
    mutations:{
        updLoading:function(state,showLoading){
            state.showLoading = showLoading;
        }
    }
})

export default store
